/*
 *  v0.01 
 *		1. define the LOG function
*/
#ifndef _LOG_H
#define _LOG_H

#define ERR   0
#define KEY   1
#define INFO  2
#define DEBUG 3

void log_init(int level);

int LOG(int level, const char *fmt, ...);

#endif
